#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>

//#define MY_FIFO "../name_pipe2/myfifo"
int main()
{
    umask(0);
    if(mkfifo("my_fifo", 0666) < 0)
    {
        perror("mkfifo");
        return 1;
    }
    return 0;
}
